﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<easyccms.BusinessLayer.Entities.Article>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Article
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Article</h2>

    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">ArticleId</div>
        <div class="display-field"><%: Model.ArticleId %></div>
        
        <div class="display-label">Title</div>
        <div class="display-field"><%: Model.Title %></div>
        
        <div class="display-label">Text</div>
        <div class="display-field"><%: Model.Text %></div>
        
        <div class="display-label">DisplayUntil</div>
        <div class="display-field"><%: String.Format("{0:g}", Model.DisplayUntil) %></div>
        
        <div class="display-label">Created</div>
        <div class="display-field"><%: String.Format("{0:g}", Model.Created) %></div>
        
        <div class="display-label">Enabled</div>
        <div class="display-field"><%: Model.Enabled %></div>
        
        <div class="display-label">Deleted</div>
        <div class="display-field"><%: Model.Deleted %></div>
        
    </fieldset>
    <p>
        <%: Html.ActionLink("Edit", "Edit", new { /* id=Model.PrimaryKey */ }) %> |
        <%: Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

